home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / text / hints / volume_01 / issue_08 < prev    next >
Text File  |  1995-02-16  |  3KB  |  73 lines

  1. • Colour TV output for Archimedes?  If you haven’t got a colour monitor
  2. and want to use a TV to look at the output from the Archimedes in
  3. colour, you can feed the signal from the video output into the ‘video
  4. in’ on a video recorder (always assuming you’ve got one!) and connect
  5. the ‘RF out’ from the recorder to the TV.
  6. 1.08
  7. • Drive lights on external 5.25“ drives.  One reader suggested that to
  8. avoid the external drive light coming on when I accessed the interal
  9. drive(s) I should remove all links except DS1 (I use DS2 to make it
  10. drive2), TO, RR and MS.  I followed his advice and it seems to be OK
  11. now.
  12. 1.08
  13. • 400 or 300?  If a piece of software wants to find out if it is running
  14. in a 300 series machine or a 400 series it can read the MEMC to find the
  15. size of page being used, thus:
  16. 1.08
  17.    program segment missing
  18. 1.08
  19. • More buzzing.  One reader noticed that the buzzing from the speaker
  20. gets worse when you upgrade from a 305 to a 310.  Other readers have
  21. found that the buzz gets to an intolerable level with certain software
  22. such as ArcWriter.  In any case, this is now recognised by Acorn as a
  23. field change, so your local dealer should be able to sort it out for
  24. you.  If your local dealer is not within easy reach then the “capacitor
  25. fix” mentioned in issue 3, page 7, is easy enough to do as long as you
  26. are reasonably competent at soldering.
  27. 1.08
  28.  
  29. 1.08
  30. • Printer Acknowledge Line.  The IOC (Input Output Controller) has a
  31. printer acknowledge line which can be read from the ARM supervisor mode. 
  32. However, it is not advisable to ‘play around’ in this area, unless you
  33. know what you are doing, because some locations are read only and
  34. attempting to write to them could damage your IOC chip.  Here is an
  35. example program that reads the printer acknowledge line.
  36. 1.08
  37.    program segment missing
  38. 1.08
  39. • *TypeFile Command.  One reader tried to define an alias which types
  40. out a file on the printer and then switches the printer off again, but
  41. he found that it was easier said than done.  I set Adrian Look onto it
  42. and he has managed to find a way of doing it (albeit rather tortuous!):
  43. 1.08
  44.    program segment missing
  45. 1.08
  46. then to print out the file, you do a *TypeFile<filename>.  The <60> and
  47. <62> are the ASCII codes for “<‘ and “>”.
  48. 1.08
  49. It sounds a bit long-winded, but what you are trying to do is generate
  50. ASCII codes <2> and <3> to switch the printer on and off again.  When
  51. you do a *SHOW, it gives the definition of TypeFile as ECHO |<2>|M TYPE
  52. %0|M ECHO |<3>|M.
  53. 1.08
  54. • “What’s the time, Arthur??”  − If you wanted to change the prompt
  55. which Arthur gives, you could try, for example:
  56. 1.08
  57.    *Set CLI$PROMPT >>>
  58. 1.08
  59. and you would get a question mark instead of the star prompt.  Then, if
  60. you want Arthur to tell you time at each prompt, use:
  61. 1.08
  62.    *SETMACRO CLI$PROMPT <SYS$TIME>*
  63. 1.08
  64. This prints out the time and then prints the star prompt.  The reason
  65. you use SETMACRO rather than just SET is that it needs to be a variable
  66. which is up-dated each time the command is used.  If you don’t like the
  67. seconds figure to be included, try:
  68. 1.08
  69.    <SYS$TIME><127><127><127>*
  70. 1.08
  71. This prints out the time but then generates three delete characters
  72. which remove the seconds figures and the colon.
  73.